package com.wmd.core.annotation;

import java.lang.annotation.*;

@Target({ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Repeatable(ApiJsonObjects.class)
public @interface ApiJsonObject {

    ApiJsonProperty[] properties() default {}; //对象属性值
    String name() default "MapParams";  //对象名称
    ApiJsonEntity[] entities() default {};
    String description() default "";
    int ParamterOrResponse() default 0;//0请求参数，1返回参数，2请求参数和返回参数一致
    Class<?> ParentGeneric() default Object.class;
    String ParentField() default "records";
}
